package com.dcdata.xian.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 线路扩展信息
 * </p>
 *
 * @author suxm
 * @since 2020-11-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("line_extension")
@ApiModel(value = "LineExtension对象", description = "线路扩展信息")
@AllArgsConstructor
public class LineExtension implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "线路id")
    private Integer lineId;

    @ApiModelProperty(value = "线路版本")
    private Integer lineVersion;

    @ApiModelProperty(value = "线路状态(1 运营中，2 草稿，3 待审核，4 撤销，5 历史，6 待生效)")
    private String routeSystemType;

    @ApiModelProperty(value = "所属片区")
    private Integer areaId;

    @ApiModelProperty(value = "配车数")
    private Integer vehiclesCount;
}
